package com.invoicerecognition.backend.controller.student;

import com.invoicerecognition.backend.service.student.GetStudentInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
public class GetStudentInfoController {

    @Autowired
    private GetStudentInfoService getStudentInfoService;

    @GetMapping("/api/student/get-info")
    public Map<String, String> getStudentInfo() {
        return getStudentInfoService.getStudentInfo();
    }
}
